package org.come.setup;

import org.come.Jpanel.*;

import javax.swing.*;
import java.awt.*;

public class XSeTupJpanelzr extends JPanel {
	private CardLayout car;
	private TestSetupJpanel childAttributeJpanel;
	private TestSetupJpanel childTalentJpanel;
	private TestSetupJpanel childTalent1Jpanel;
//	private PartnerArenaMainPanel childTalent2Jpanel;

	public XSeTupJpanelzr() {
		

        car=new CardLayout();		
		this.setPreferredSize(new Dimension(358, 250));
	    this.setLayout(car);
	    this.setOpaque(false);
		try {
			childAttributeJpanel = new TestSetupJpanel();
		} catch (Exception e) {
			e.printStackTrace();
		}
		this.add(childAttributeJpanel,"l1");
		try {
			childTalentJpanel = new TestSetupJpanel();
		} catch (Exception e) {
			e.printStackTrace();
		}
		this.add(childTalentJpanel, "l2");
		try {
			childTalent1Jpanel = new TestSetupJpanel();
		} catch (Exception e) {
			e.printStackTrace();
		}
		this.add(childTalent1Jpanel, "l3");
//		childTalent2Jpanel = new PartnerArenaMainPanel();
//		this.add(childTalent2Jpanel, "l4");
		
	}

	public CardLayout getCar() {
		return car;
	}

	public void setCar(CardLayout car) {
		this.car = car;
	}

	public TestSetupJpanel getChildAttributeJpanel() {
		return childAttributeJpanel;
	}

	public void setChildAttributeJpanel(
			TestSetupJpanel childAttributeJpanel) {
		this.childAttributeJpanel = childAttributeJpanel;
	}

	public TestSetupJpanel getChildTalentJpanel() {
		return childTalentJpanel;
	}

	public void setChildTalentJpanel(TestSetupJpanel childTalentJpanel) {
		this.childTalentJpanel = childTalentJpanel;
	}



	public TestSetupJpanel getChildTalent1Jpanel() {
		return childTalent1Jpanel;
	}

	public void setChildTalent1Jpanel(TestSetupJpanel childTalent1Jpanel) {
		this.childTalent1Jpanel = childTalent1Jpanel;
	}
//
//
//	public PartnerArenaMainPanel getChildTalent2Jpanel() {
//		return childTalent2Jpanel;
//	}
//
//	public void setChildTalent2Jpanel(PartnerArenaMainPanel childTalent2Jpanel) {
//		this.childTalent2Jpanel = childTalent2Jpanel;
//	}

	
}
